package com.zy.cat.entity.dev.resp;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

/**
 * 
 * @info 9趣猫福利中心信息实体类
 * @author Link
 * @date 2019-11-11 14:59
 */
@Data
@RequiredArgsConstructor
@AllArgsConstructor
@ApiModel("9趣猫福利中心信息实体类")
public class CatDevWelfareInfoResp {
	
	@ApiModelProperty(value = "9趣猫用户ID", example = "18986866666")
    private String pid="";
	
	@ApiModelProperty(value = "总计现金红包（分）", example = "100")
	private long arpt;
	
	@ApiModelProperty(value = "总计现金豆", example = "100")
	private long abeans;
	
	@ApiModelProperty(value = "剩余现金红包（分）", example = "100")
	private long rpt;
	
	@ApiModelProperty(value = "剩余现金豆", example = "100")
	private long beans;
	
	@ApiModelProperty(value = "今日获得现金红包（分）", example = "100")
	private long jrpt;
	
	@ApiModelProperty(value = "今日获得现金豆", example = "100")
	private long jbeans;
	
	@ApiModelProperty(value = "今日是否签到0.否、1.是", example = "0")
	private int signed;
	
	@ApiModelProperty(value = "今日签到状态(0.未签到、1.已签到未翻倍、2.已签到已翻倍)", example = "0")
	private int signInStatus;
	
	@ApiModelProperty(value = "签到奖励翻倍ID", example = "18986866666")
    private String fid="";
	
	@ApiModelProperty(value = "当前阶段签到红包领取状态（0.未领取、1.已领取），30分钟领取一次", example = "0")
	private int signedpcks;
	
	@ApiModelProperty(value = "7天连续签到天数", example = "1")
	private int signs;

	@JsonProperty("game_beans")
	@ApiModelProperty(value = "通过游戏获取现金豆数", example = "100")
	private long gameBeans;
	
	@JsonProperty("is_first")
	@ApiModelProperty(value = "是否为新用户首次提现(0.非首次提现、1.首次提现（可快速1元提现）)", example = "1")
	private int isFirst;

	@ApiModelProperty(value = "用户福利中心看视频领金豆进度", example = "{}")
	private CatDevBeanVideoHistoryResp beanVideoHistoryResp;
	
	@ApiModelProperty(value = "新人任务完成情况", example = "{}")
	private List<UserTaskData> newUserTaskData;
	
	@ApiModelProperty(value = "每日任务完成情况", example = "{}")
	private List<UserTaskData> everydayTaskData;

	public CatDevWelfareInfoResp(String pid) {
		super();
		this.pid = pid;
	}
	
	@Data
	@RequiredArgsConstructor
	@AllArgsConstructor
	public static class UserTaskData{
		
		@ApiModelProperty(value = "新人任务内容", example = "首次复制淘宝商品标题")
	    private String taskContent;
		
		@ApiModelProperty(value = "新人任务类型,0.搜索功能体验完成、1.绑定手机号、2.首次下单、3.新人1元提现", example = "0")
	    private int taskType;
		
		@ApiModelProperty(value = "现金豆数量", example = "6")
		private int beanNum;
	
		@ApiModelProperty(value = "是否展示(0.不展示、1.展示)", example = "0")
		private int isShow;
		
		@ApiModelProperty(value = "任务完成状态(0.未完成、1.已完成)", example = "0")
		private int taskStatus;
		
		@ApiModelProperty(value = "任务奖励领取状态(-1.无法领取、0.未领取、1.已领取、2.领取成功)", example = "0")
		private int receiveStatus;
		
		@ApiModelProperty(value = "完成次数", example = "6")
		private int taskNum;
	}
	
}
